<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../Public/css/basic.css"/>
<link rel="stylesheet" href="../Public/css/face.css"/>
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="../Public/js/sidebar.js"></script>
<script type="text/javascript">
   $(document).ready(function() {
       if($('p.remind').css('display') == 'block') {
           setTimeout(function() {
               $('p.remind').hide();
               history.back();
           }, 3000);
       } 
      $('form').submit(function() {
          if($('input.text').val() == '') {
              alert('请上传头像!');
              return false;
          }
      });
      
   });
</script>
<title>三原县信息网 -- 用户头像管理</title>
</head>
<body>
<include file="./Member/Tpl/Public/header.html"/>
<div id="map"><img src="../Public/images/loc.gif" /> <a href="__ROOT__/member.php">用户中心</a> &gt; 更新头像</div>
<include file="./Member/Tpl/Public/sidebar.html"/>
<div id="main">
    <div class="up">
        <h3>头像更新</h3>
        <p class="remind" style="display:{$s}"><img src="../Public/images/valid.gif" style="position:relative;top:3px;right:3px;"/>头像更新成功!</p>
        <form name="add" method="post">
        <dl>
            <dd>选择文件：　<input type="text" name="face" readonly="readonly" class="text"/>　<input type="button" value="上传" onclick="window.open('__APP__/Public/upload', 'pic', 'width=400,height=150,top=200,left=420');" style="width:60px;"/></dd>
            <dd><span class="middle">预览头像：</span>　<img src="../Public/images/mpview.gif" id="view"/></dd>
            <dd class="sub"><input type="submit" name="send" value="更新头像" style="width:100px;height:30px;border:1px solid #ccc;cursor:pointer;border-radius:5px;"/></dd>
            <input type="hidden" id="root" value="__ROOT__"/>
        </dl>
        </form>
    </div>
</div>
<include file="./Member/Tpl/Public/footer.html"/>
</body>
</html>